/*    */ package net.sourceforge.appgen.databinding;
/*    */ 
/*    */ import java.io.File;
/*    */ import org.eclipse.core.databinding.conversion.IConverter;
/*    */ 
/*    */ public class StringToFileConverter
/*    */   implements IConverter
/*    */ {
/*    */   public Object convert(Object fromObject)
/*    */   {
/* 29 */     return new File(fromObject.toString());
/*    */   }
/*    */ 
/*    */   public Object getFromType() {
/* 33 */     return String.class;
/*    */   }
/*    */ 
/*    */   public Object getToType() {
/* 37 */     return File.class;
/*    */   }
/*    */ }

/* Location:           C:\Users\lzl6066\Downloads\net.sourceforge.appgen_1.2.0\plugins\net.sourceforge.appgen_1.2.0.201002031718\
 * Qualified Name:     net.sourceforge.appgen.databinding.StringToFileConverter
 * JD-Core Version:    0.6.0
 */